import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/admin/tpl/getCategory',
    method: 'post',
    data
  })
}

export function addInfo(data) {
  return request({
    url: '/admin/tpl/add',
    method: 'post',
    data
  })
}


export function getAlias(data) {
  return request({
    url: '/admin/tpl/getAlias',
    method: 'post',
    data
  })
}


export function editInfo(data) {
  return request({
    url: '/admin/tpl/edit',
    method: 'post',
    data
  })
}


export function getInfo(data) {
    return request({
      url: '/admin/tpl/getInfo',
      method: 'post',
      data
    })
}